<div class="col-sm-12 mt20">
     <div class="panel">
           <div class="panel-body">
                <div class="col-sm-12">
			         <div class="row">			        
							<div class="col-sm-2">
                                <input type="text" class="form-control" ng-model="searchform.name" placeholder="拿卡人姓名">
                            </div>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" ng-model="searchform.mobile" placeholder="拿卡人电话">
                            </div>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" ng-model="searchform.company_code" placeholder="拿卡人机构编码">
                            </div>
                            <div class="col-sm-2">
                                 <input type="text" class="form-control" ng-model="searchform.start_card_no" placeholder="起始号段">
                            </div>
                            <div class="col-sm-2">
                                 <input type="text" class="form-control" ng-model="searchform.end_card_no" placeholder="结算号段">
                            </div>
                            <div class="col-sm-2">
                                 <ui-select ng-model="searchform.type" theme="bootstrap" ng-keyup="myKeyup($event)">
                                      <ui-select-match placeholder="类型">
                                        {{$select.selected.label}}
                                      </ui-select-match>
                                      <ui-select-choices repeat="item.value as item in typearr | filter: $select.search">
                                        <span ng-bind-html="item.label | highlight: $select.search"></span>
                                      </ui-select-choices>
                                    </ui-select>
                            </div>
			         </div>
                     <div class="row mt10">			        
							<div class="col-sm-2">
                                 <ui-select ng-model="searchform.settlement_status" theme="bootstrap" ng-keyup="myKeyup($event)">
                                      <ui-select-match placeholder="结算状态">
                                        {{$select.selected.label}}
                                      </ui-select-match>
                                      <ui-select-choices repeat="item.value as item in settlementarr | filter: $select.search">
                                        <span ng-bind-html="item.label | highlight: $select.search"></span>
                                      </ui-select-choices>
                                    </ui-select>  
                            </div>
                            <div class="col-sm-2">
                                  <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable" is-open="date.opened"
                                    ng-click="dateOpen($event, date)" placeholder="开始时间" ng-required="true"  close-text="关闭" current-text="今天" clear-text="清除"  readonly/>
                              </div>
                                <div class="col-sm-2">
                                  <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date1.lable" is-open="date1.opened"
                                    ng-click="dateOpen1($event, date1)" placeholder="结束时间" ng-required="true" close-text="关闭" current-text="今天" clear-text="清除" readonly/>						
                                </div>
                            <div class="col-sm-2">
                                
                            </div>
                            <div class="col-sm-2">
                                
                            </div>
                            <div class="col-sm-2">
                                	<input type="button " class="btn btn-info search form-control"  ng-click="load()" value="立即搜索">
                            </div>
			         </div>
                </div>
           </div>
     </div>
                    
    <div class="col-md-12 panel panel-default table-responsive">
    <table class="table table-hover table-bordered">
    <thead>
        <tr>
            <th class="col-xs-1 text-center">类型</th>
            <th class="col-xs-1 text-center">姓名</th>
            <th class="col-xs-1 text-center">电话</th>
            <th class="col-xs-1 text-center">所属机构</th>
            <th class="col-xs-2 text-center">号段</th>
            <th class="col-xs-1 text-center">单价</th>
            <th class="col-xs-1 text-center">数量</th>
            <th class="col-xs-1 text-center">总价</th>
            <th class="col-xs-1 text-center">是否结算</th>
            <th class="col-xs-1 text-center">操作时间</th>
            <th class="col-xs-1 text-center">操作账号</th>
        </tr>
    </thead>
    <tbody>
        <tr ng-repeat="obj in objs">
            <td class="text-center">{{obj.typename}}</td>
            <td class="text-center">{{obj.name}}</td>
            <td class="text-center">{{obj.mobile}}</td>
            <td class="text-center">
                {{obj.company_name}}<br>
                {{obj.company_code}}
            </td>
            <td class="text-center">{{obj.start_card_no}}~{{obj.end_card_no}}</td>
            <td class="text-center">{{obj.unit_price | currency : '￥'}}</td>
            <td class="text-center">{{obj.num}}</td>
            <td class="text-center">{{obj.all_price | currency : '￥'}}</td>
            <td class="text-center">{{obj.settlement_statusname}}</td>
            <td class="text-center">{{obj.create_time}}</td>
            <td class="text-center">{{obj.create_by}}</td>
        </tr>

        <tr >
            <td class="text-center">总计</td>
            <td class="text-center"></td>
            <td class="text-center"></td>
            <td class="text-center"></td>
            <td class="text-center"></td>
            <td class="text-center"></td>
            <td class="text-center">{{total.num}}</td>
            <td class="text-center">{{total.total | currency : '￥'}}</td>
            <td class="text-center"></td>
            <td class="text-center"></td>
            <td class="text-center"></td>
        </tr>
        
    </tbody>
    </table>
    </div>


</div>